import { axios } from '@/utils/request'

/**
 * 查询酒店管理
 *
 * @author yangyuanjiang
 * @date 2022-02-23 16:11:57
 */
export function htHotalPage (parameter) {
  return axios({
    url: '/htHotal/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 酒店管理列表
 *
 * @author yangyuanjiang
 * @date 2022-02-23 16:11:57
 */
export function htHotalList (parameter) {
  return axios({
    url: '/htHotal/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加酒店管理
 *
 * @author yangyuanjiang
 * @date 2022-02-23 16:11:57
 */
export function htHotalAdd (parameter) {
  return axios({
    url: '/htHotal/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑酒店管理
 *
 * @author yangyuanjiang
 * @date 2022-02-23 16:11:57
 */
export function htHotalEdit (parameter) {
  return axios({
    url: '/htHotal/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除酒店管理
 *
 * @author yangyuanjiang
 * @date 2022-02-23 16:11:57
 */
export function htHotalDelete (parameter) {
  return axios({
    url: '/htHotal/delete',
    method: 'post',
    data: parameter
  })
}

/**
 * 导出酒店管理
 *
 * @author yangyuanjiang
 * @date 2022-02-23 16:11:57
 */
export function htHotalExport (parameter) {
  return axios({
    url: '/htHotal/export',
    method: 'get',
    params: parameter,
    responseType: 'blob'
  })
}
